﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using GCC.Container.Models;


namespace tcm.request.System
{
    public class SysMenuRequest
    {
        public string? menu_name { get; set; }

        public int? menu_type { get; set; }

        public int? status { get; set; }

    }

    public class SysMenuDto : BaseExtensionDto
    {

        /// <summary>
        /// 父级节点id
        /// </summary>
        public long? parent_id { get; set; }

        /// <summary>
        /// 菜单名称 
        /// </summary>
        public string? menu_name { get; set; } = "";

        /// <summary>
        /// 菜单图标
        /// </summary>
        public string? menu_icon { get; set; } = "";

        /// <summary>
        /// 菜单url
        /// </summary>
        public string? menu_url { get; set; } = "";
        
         /// <summary>
        /// 组件url
        /// </summary>
        public string? component { get; set; } = "";
        

        /// <summary>
        /// 排序
        /// </summary>
        public int? menu_sort { get; set; } = 0;

        /// <summary>
        /// 菜单类型(1目录 2页面 3按钮)
        /// </summary>

        public int menu_type { get; set; }

        /// <summary>
        /// 菜单状态(0禁用 1启用)
        /// </summary>
        public int menu_status { get; set; } = 1;

        /// <summary>
        /// 菜单权限标识
        /// </summary>
        public string? authorize { get; set; } = "";

        /// <summary>
        /// 备注
        /// </summary>
        public string? remark { get; set; } = "";


    }
}
